#include <iostream>
#include <memory>
#include "HttpServer.hpp"

void Usage(const char* proc)
{
    cout << "Usage:" << endl;
    cout << proc << " <ip>" << endl;
}

int main(int argc, char** argv)
{
    // if(argc != 2)
    // {
    //     Usage(argv[0]);
    //     return 0;
    // }
    // uint16_t port = stoi(argv[1]);
    std::unique_ptr<HttpServer> server(HttpServer::GetInstance(8080));
    server->Run();
}